// src/api/index.js
import axios from 'axios';

const apiClient = axios.create({
  baseURL: 'http://127.0.0.1:9000', // 后端基础URL
  headers: {
    'Content-Type': 'application/json', // 设置请求头
  },
});

export default apiClient;